]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Reset clickedSummaryItem on ungrab
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Sep 2013 23:55:22 +0000 (01:55 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Sep 2013 08:16:37 +0000 (10:16 +0200)
If we don't, we will pop up the summary again the next time
_updateState() is called.

https://bugzilla.gnome.org/show_bug.cgi?id=707600

js/ui/messageTray.js

index c87a2983ca9eb65889eeff1a69e1957a533def5b..69a822dea8db8d475e0f5963e406853652a44662 100644 (file)
@@ -2732,6 +2732,7 @@ const MessageTray = new Lang.Class({
 
     _onSummaryBoxPointerUngrabbed: function() {
         this._summaryBoxPointerState = State.HIDING;
+        this._setClickedSummaryItem(null);
 
         if (this._summaryBoxPointerContentUpdatedId) {
             this._summaryBoxPointerItem.disconnect(this._summaryBoxPointerContentUpdatedId);